package com.szp.springbootvue.service.impl;

import com.szp.springbootvue.domain.User;
import com.szp.springbootvue.mapper.UserMapper;
import com.szp.springbootvue.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> findAllUser() {
        return null;
    }

//    @Override
//    public List<User> findAllUser() {
//        return userMapper.getAllUser();
//    }
}
